package com.zzw.mapper.dao;
import com.zzw.util.MyMapper;
import org.apache.ibatis.annotations.*;
import org.springframework.cache.annotation.*;
import org.springframework.stereotype.Repository;
import com.zzw.entity.User;

import java.util.List;

@Mapper
@Repository
/**
* @Athor:xiezhongjiang
* @Description:UserMapper.xml代理
* @Date:2017/10/26 12:32
* @Since:1.0.0
*/
public interface UserDAOMapper extends MyMapper<User>{
    User findById(int id);
    List<User> query(@Param("username") String username);
    List<User> listByPage(@Param("username") String username);
}
